package com.bigdata.service.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bigdata.common.core.domain.BaseEntity;

/**
 * 用户查询历史记录对象 search_history
 *
 * @author ruoyi
 * @date 2025-07-23
 */
@Data
//@EqualsAndHashCode(callSuper = true)
@TableName("search_history")
public class SearchHistory implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 自增主键
     */
    @TableId(value = "id")
    private String id;
    /**
     * 用户ID，关联用户表，游客则为NULL
     */
    private Long userId;
    /**
     * 查询内容
     */
    private String queryContent;
    /**
     * 查询时间
     */
    private Date searchTime;

}
